<template>
  <div>
<el-dialog title="点位详情" :visible="visible" @close="closeFn" width="38%">
  <div class="name">
  </div>
  <el-table :data="find">
     <el-table-column type="index" label="序号" width="100"></el-table-column>
    <el-table-column prop="innerCode" label="机器编号" width="180"></el-table-column>
    <el-table-column prop="vmStatus" label="点位名称" width="180"></el-table-column>
    <el-table-column prop="lastSupplyTime" label="设备数量" width="180"></el-table-column>
  </el-table>
</el-dialog>
  </div>
</template>

<script>
export default {
  data () {
    return {

    }
  },

  props: {
    visible: {
      type: Boolean,
      required: true
    },
    find: {
      type: Array,
      required: true
    }
  },
  methods: {
    closeFn () {
      console.log(1)
      console.log(this.find)
      this.$emit('update:visible', false)
    }
  }
}

</script>

<style lang="scss" scoped>
.name{
display: flex;
margin-bottom: 20px;
}
</style>
